import React, { Component, Fragment } from 'react';
import { Button, Modal } from 'antd';

export default class DeletePopup extends React.Component {
  render() {
    const { deletetitleName, deleteVisible, deleteOnCancel, deleteonCreate, addressTitle } = this.props;
    return (
      <div>
        <Modal
          visible={deleteVisible}
          title={deletetitleName}
          okText="确定"
          onCancel={deleteOnCancel}
          onOk={deleteonCreate}
        >
        确定删除{addressTitle}地址?
        </Modal>
      </div>
    );
  }
}
